import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import { loadComponents } from '@/components'
import globalError from './globalError'

const app = createApp(App).use(store).use(router)

loadComponents(app)
globalError(app)

app.mount('#app')
window.app = app
